export default [
  {
    path: "/student",
    name: "StudentIndex",
    component: () => import("@/views/student/index.vue"),
    meta: {
      title: "学生页面",
    },
    children: [
      {
        path: "/student/home",
        name: "StudentHome",
        component: () => import("@/views/student/home/index.vue"),
        meta: {
          title: "系统首页",
        },
      },
      {
        path: "/student/society",
        name: "SocietyIndex",
        component: () => import("@/views/student/societyList/index.vue"),
        meta: {
          title: "所有社团",
        }
      },
      {
        path: "/student/society/detail",
        name: "SocietyDetail",
        component: () => import("@/views/student/societyList/detail.vue"),
        meta: {
          title: "社团详情",
        },
      },
      {
        path: "/student/activity",
        name: "ActivityIndex",
        component: () => import("@/views/student/activity/index.vue"),
        meta: {
          title: "精彩活动",
        },
      },
      {
        path: "/student/activity/detail",
        name: "ActivityDetail",
        component: () => import("@/views/student/activity/detail.vue"),
        meta: {
          title: "活动详情",
        },
      },
      {
        path: "/student/mySociety",
        name: "mySociety",
        component: () => import("@/views/student/mySociety/index.vue"),
        meta: {
          title: "我的社团",
        },
        children: [
          // {
          //   path: "/student/mySociety/societyHome",
          //   name: "SocietyHome",
          //   component: () => import("@/views/student/mySociety/societyHome.vue"),
          //   meta: {
          //     title: "进入社团首页",
          //   },
          // },
          {
            path: "/student/mySociety/checkApply",
            name: "SocietyCheckApply",
            component: () => import("@/views/student/mySociety/checkApply.vue"),
            meta: {
              title: "审批社团申请",
            },
          },
          {
            path: "/student/mySociety/personList",
            name: "PersonList",
            component: () => import("@/views/student/mySociety/personList.vue"),
            meta: {
              title: "社团成员列表",
            },
          },
          {
            path: "/student/mySociety/editInfo",
            name: "EditInfo",
            component: () => import("@/views/student/mySociety/editInfo.vue"),
            meta: {
              title: "修改社团信息",
            },
          },
          {
            path: "/student/mySociety/activityList",
            name: "ActivityList",
            component: () => import("@/views/student/mySociety/activityList.vue"),
            meta: {
              title: "管理社团活动",
            },
          },
          {
            path: "/student/mySociety/addActivity",
            name: "StudentAddActivity",
            component: () => import("@/views/student/mySociety/addActivity.vue"),
            meta: {
              title: "社团发布活动",
            },
          },
          {
            path: "/student/mySociety/editActivity",
            name: "StudentEditActivity",
            component: () => import("@/views/student/mySociety/editActivity.vue"),
            meta: {
              title: "修改活动信息",
            },
          },
          {
            path: "/student/mySociety/applyGoods",
            name: "ApplyGoods",
            component: () => import("@/views/student/mySociety/applyGoods.vue"),
            meta: {
              title: "申请社团物资",
            },
          },
          {
            path: "/student/mySociety/applyResign",
            name: "ApplyResign",
            component: () => import("@/views/student/mySociety/applyResign.vue"),
            meta: {
              title: "社团换届申请",
            },
          },
          {
            path: "/student/mySociety/dismissSociety",
            name: "DismissSociety",
            component: () => import("@/views/student/mySociety/dismissSociety.vue"),
            meta: {
              title: "社团解散申请",
            },
          },
        ]
      },
      {
        path: "/student/personCenter",
        name: "PersonCenter",
        component: () => import("@/views/student/personCenter/index.vue"),
        meta: {
          title: "个人中心",
        },
        children: [
          {
            path: "/student/personCenter/myScore",
            name: "MyScore",
            component: () => import("@/views/student/personCenter/myScore.vue"),
            meta: {
              title: "我的分数详情",
            },
          },
          {
            path: "/student/personCenter/dealApply",
            name: "DealApply",
            component: () => import("@/views/student/personCenter/dealApply.vue"),
            meta: {
              title: "处理社团审批",
            },
          },
          {
            path: "/student/personCenter/checkApply",
            name: "CheckApply",
            component: () => import("@/views/student/personCenter/checkApply.vue"),
            meta: {
              title: "查看申请进度",
            },
          },
          {
            path: "/student/personCenter/joinSociety",
            name: "JoinSociety",
            component: () => import("@/views/student/personCenter/joinSociety.vue"),
            meta: {
              title: "已参加的社团",
            },
          },
          {
            path: "/student/personCenter/joinActivity",
            name: "JoinActivity",
            component: () => import("@/views/student/personCenter/joinActivity.vue"),
            meta: {
              title: "已参加的活动",
            },
          },
          {
            path: "/student/personCenter/createSociety",
            name: "CreateSociety",
            component: () => import("@/views/student/personCenter/createSociety.vue"),
            meta: {
              title: "申请创建社团",
            },
          },
        ]
      },
      {
        path: "/student/beforeActivity",
        name: "BeforeActivity",
        component: () => import("@/views/student/beforeActivity/index.vue"),
        meta: {
          title: "活动照片墙",
        },
        children: [
          {
            path: "/student/beforeActivity/detail",
            name: "BeforeActivityDetail",
            component: () => import("@/views/student/beforeActivity/detail.vue"),
            meta: {
              title: "活动照片墙详情",
            },
          }
        ]
      },
      {
        path: "/student/school",
        name: "SchoolIndex",
        component: () => import("@/views/student/school/index.vue"),
        meta: {
          title: "学校简介",
        },
      },
      {
        path: "/student/societyRule",
        name: "SocietyRule",
        component: () => import("@/views/student/societyRule/index.vue"),
        meta: {
          title: "社团守则",
        },
      },
    ]
  }
];
